package com.woniu.supermarket.service;

import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.entity.Employee;
import com.woniu.supermarket.vo.EmployeeVo;

public interface IEmployeeService {
    Employee login(String username);

    PageInfo<EmployeeVo> findEmployeeByCons(Integer now, Integer size, String employeeNumber, Integer status);

    int addEmployee(EmployeeVo employeeVo);

    int modifyEmployee(EmployeeVo employeeVo);

    int removeEmployee(Integer id);

    int removeBatchIds(int[] ids);

    Employee queryEmployeeByKey(Integer id);
}
